{{if $cart->total_items()>0}}
<h1 class="h1Text" style="margin: 0px"><a href="{{$base_index_url}}/cart/my_cart" style="color: white">Cart Summary</a></h1>
<form method="post" action="{{$base_index_url}}/cart/my_cart">
    <table width="100%" class="ctable">
        <tr>
            <th style="text-align: left">
                PartNum

            </th>
            <th style="text-align: right">
                Qty
            </th>
            <th style="text-align: right">
                Price
            </th>
            <th></th>

        </tr>
        {{assign var=items value=$cart->get_all_items()}}
        {{foreach from=$items item=i}}
        {{assign var=p value=$i->get_product()}}
        {{assign value=$p->get_description() var=desc}}            
        <tr title="{{$desc->short_desc}}">
            <td>                
                {{$p->part_num}}
            </td>
            <td align="right">
                {{$i->qty|string_format:"%.0f"}}

            </td>
            <td align="right">
                ${{$i->price_x_qty()|string_format:"%.2f"}}
            </td>
            <td>
                <a href="{{$base_index_url}}/cart/my_cart/remove/{{$i->product_id}}" title="Remove Item - {{$desc->short_desc}}">
                    <img src="{{$core_images}}/common/delete.png" style="border: none;"/>
                </a>
            </td>

        </tr>
        {{/foreach}}
        <tr>
            <td style="font-weight: bold;color:#156EED">
                Total Price:
            </td>
            <td  align="right" colspan="4" style="font-weight: bold;color:#156EED">
                ${{$cart->total_cart_price()|string_format:"%.2f"}}
            </td>
        </tr>
    </table>
</form>{{/if}}  